<?php include "fonctions.php";

  $postfield = array();
  
  postFieldsAddName($postFields, $_POST['name']);

  postFieldsAddDescription($postFields, $_POST['description']);

  postFieldsAddParentID($postFields, $_POST['parent']);

  $res = addSkill($postFields);
  
  if($res == true) {
    echo "Votre competence a bien &eacute;t&eacute; ajout&eacute; !";
  }
?>

<p><a href="list_skills.php"> Retour a la liste des competences</a><br/>
<a href="index.php"> Retour au menu</a><br/></p>


